-- GENERATED SPELL FOR [Coldarra Spellweaver] --


function spell0_25722(pUnit, Event) --@Arcane Missiles,n/a--
pUnit:FullCastSpellOnTarget(34447,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25722', 664, 1)
end

function Sorts_25722(pUnit, Event)
local choix_sorts_25722 = math.random(0, 0)
if choix_sorts_25722 == 0 then
pUnit:RegisterEvent('spell0_25722', 1, 1)
end
end

function mob25722_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25722', math.random(1500, 3000), 1)
end

function mob25722_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25722_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25722_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25722, 1, 'mob25722_Action')
RegisterUnitEvent(25722, 2, 'mob25722_Leave')
RegisterUnitEvent(25722, 3, 'mob25722_Kill')
RegisterUnitEvent(25722, 4, 'mob25722_Die')
